package com.xtu.hrms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * SpringData ElasticSearch(版本可能不合适)
 */
@MapperScan("com.xtu.hrms.mapper")
@SpringBootApplication
public class EmployeeManagementSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(EmployeeManagementSystemApplication.class, args);
//springboot 项目启动自动打开浏览器访问网站设置
        try {
            Runtime.getRuntime().exec("cmd /c start http://localhost:8080/hrms");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }




}
